package com.example.common.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Entity
@Data
@Table(name = "course")
public class Course {
    @Id
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String name;

    private String description;   //课程详情

    private String imageUrl;   //课程图片

    private String outlineId;  //课程大纲

    private Timestamp createdAt;  //创建时间

    private Timestamp updatedAt;  //更新时间


}
